﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;

namespace BUS
{
    public class QuanBUS
    {
        private QuanDAO _dDAO;
        public QuanBUS()
        {
            _dDAO = new QuanDAO();
        }

        public bool Them(QUAN _QUAN)
        {
            return _dDAO.Them(_QUAN);
        }
        public bool Xoa(QUAN _QUAN)
        {
            return _dDAO.Xoa(_QUAN);
        }
        public bool Sua(QUAN _QUAN)
        {
            return _dDAO.Sua(_QUAN);
        }
        public QUAN TimTen(String _name)
        {
            return _dDAO.TimTen(_name);
        }
        public QUAN ChiTiet(String _id)
        {
            return _dDAO.LayID(_id);
        }
        public List<QUAN> LietKe()
        {
            return _dDAO.LietKe();
        }     
    }
}
